class WxPayVo {

  WxPayData? data;

  WxPayVo({this.data});

  WxPayVo.fromJson(Map<String, dynamic> json) {
    data = json['data'] != null ? new WxPayData.fromJson(json['data']) : null;
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    if (this.data != null) {
      data['data'] = this.data!.toJson();
    }
    return data;
  }
}

class WxPayData {
  String? appid;
  String? partnerid;
  String? prepayid;
  String? package;
  String? noncestr;
  int? timestamp;
  String? sign;

  WxPayData(
      {this.appid,
      this.partnerid,
      this.prepayid,
      this.package,
      this.noncestr,
      this.timestamp,
      this.sign});

  WxPayData.fromJson(Map<String, dynamic> json) {
    appid = json['appid'];
    partnerid = json['partnerid'];
    prepayid = json['prepayid'];
    package = json['package'];
    noncestr = json['noncestr'];
    timestamp = json['timestamp'];
    sign = json['sign'];
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['appid'] = this.appid;
    data['partnerid'] = this.partnerid;
    data['prepayid'] = this.prepayid;
    data['package'] = this.package;
    data['noncestr'] = this.noncestr;
    data['timestamp'] = this.timestamp;
    data['sign'] = this.sign;
    return data;
  }
}
